:bug: Fix Bug: global name 'authorizer_access_token' is not defined

huangqimin001 4 年之前
父节点
当前提交
7fcd5ab138
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      api/wx_views.py
  2. 3 0
      requirements_pywe.txt

+ 1 - 0
api/wx_views.py

@@ -4,6 +4,7 @@ from __future__ import division
4 4
 
5 5
 from django.conf import settings
6 6
 from django_response import response
7
+from pywe_component_authorizer_token import authorizer_access_token
7 8
 from pywe_qrcode import qrcode_limit_str_scene, qrcode_url
8 9
 from pywe_storage import RedisStorage
9 10
 

+ 3 - 0
requirements_pywe.txt

@@ -1,5 +1,6 @@
1 1
 pywe-card==1.0.0
2 2
 pywe-component==1.0.1
3
+pywe-component-authorizer-token==1.1.1
3 4
 pywe-component-preauthcode==1.0.3
4 5
 pywe-jssdk==1.1.0
5 6
 pywe-marketcode==1.0.3
@@ -9,7 +10,9 @@ pywe-miniapp==1.1.5
9 10
 pywe-oauth==1.1.1
10 11
 pywe-pay==1.0.13
11 12
 pywe-pay-notify==1.0.5
13
+pywe-qrcode==1.0.0
12 14
 pywe-response==1.0.1
13 15
 pywe-sign==1.1.0
16
+pywe-storage==1.0.1
14 17
 pywe-wxa-cv==1.0.0
15 18
 pywe-xml==1.0.6